package com.aahackathon.tripme.model;

/**
 * Created by Renats on 10/24/2014.
 */
public class SearchOptions {
    private String mOrigin;
    private Integer mPaxCount;
    private Integer mMaxPrice;
    private Integer mFlightDuration;
    private Boolean mIsDayTrip;

    public String getOrigin() {
        return mOrigin;
    }

    public void setOrigin(String mOrigin) {
        this.mOrigin = mOrigin;
    }

    public Integer getPaxCount() {
        return mPaxCount;
    }

    public void setPaxCount(Integer mPaxCount) {
        this.mPaxCount = mPaxCount;
    }

    public Integer getMaxPrice() {
        return mMaxPrice;
    }

    public void setMaxPrice(Integer mMaxPrice) {
        this.mMaxPrice = mMaxPrice;
    }

    public Integer getFlightDuration() {
        return mFlightDuration;
    }

    public void setFlightDuration(Integer mFlightDuration) {
        this.mFlightDuration = mFlightDuration;
    }

    public Boolean isDayTrip() {
        return mIsDayTrip;
    }

    public void setIsDayTrip(Boolean mIsDayTrip) {
        this.mIsDayTrip = mIsDayTrip;
    }

    @Override
    public String toString() {
        return "Search Options: origin = " + mOrigin
                + "; pax count = " + mPaxCount
                + "; max price = " + mMaxPrice
                + "; flight duration = " + mFlightDuration
                + "; is day trip = " + mIsDayTrip;
    }
}
